package cn.like.backEnd.biz.service.impl;

import cn.like.backEnd.biz.mapper.AuthRoleMapper;
import cn.like.backEnd.biz.service.AuthRoleService;
import cn.like.entity.AuthRole;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 角色(AuthRole)表服务实现类
 *
 * @author like
 * @since 2021-07-08 15:31:24
 */
@Service
public class AuthRoleServiceImpl extends ServiceImpl<AuthRoleMapper, AuthRole> implements AuthRoleService {

    @Override
    public List<String> findUserRoleByUserId(Object loginId) {
        return getBaseMapper().findUserRoleByUserId(loginId);
    }
}